//程序入口
window.main = function ($) {
    var root = $("#root");
    debugger;

    window.addEventListener(
        "mousewheel",
        function (event) {
            if (event.ctrlKey === true || event.metaKey) {
                event.preventDefault();
            }
            root.text(event.wheelDelta);
        },
        { passive: false }
    );

    //firefox
    window.addEventListener(
        "DOMMouseScroll",
        function (event) {
            if (event.ctrlKey === true || event.metaKey) {
                event.preventDefault();
            }
            root.text(event.wheelDelta);
        },
        { passive: false }
    );
    
};
